package com.wangijun.yuan.web.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

@Schema(description = "发送私信参数")
@Getter
@Setter
public class ChatSendParam {
    @NotBlank(message = "内容不可为空")
    @Schema(description = "私信内容")
    private String msg;
    @NotNull(message = "必要参数不可为空")
    @Schema(description = "接收用户Id")
    private Long receiveUserId;
}
